<?php
class AboutAction extends CommonAction {
	public function __construct(){
		parent::__construct();
		
		$this->modelObject = D('About');
    }
	
    public function index($id = 0){
		if($id && ($info = $this->modelObject->getInfo($id))){
			$this->assign('info', $info);
			
			$this->setSeo($info);
			$this->display();	
		}else{
			$this->go404();
		}
    }
}